package com.tm.commonutils.enums;


import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum ResultCode {
    SUCCESS(200,"成功"),
    ERROR(-1,"失败"),
    PHONE_ERROR(-2, "手机号校验错误"),
    USER_ALREADY(-3, "用户已存在"),
    SEND_MSG_ERROR(-4, "验证码发送错误请稍后重试"),
    TO_MANY_ERROR(-5, "发送过于频繁"),



    ;
    private Integer code;
    private String desc;


}
